<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/includeHeader.jsp"%>
<%@ include file="/common/include/dictNames.jsp"%>
<%@ page
	import="java.text.*,com.kylin.module.shop.orm.*,com.kylin.common.util.*,com.kylin.common.dict.orm.Dict,com.kylin.common.paginate.DisplayPage,com.kylin.module.user.orm.*"%>

<script language="javascript" src="/script/ae.js"></script>
<script type="text/javascript" src="/script/home.js"></script>

<div class="in_title_lin"><bean:message key="home.04" /></div>
       <div style="border:1px solid #DFDFDF; background-color:#F4F4F4; width:340px; margin: auto; height:100px; padding:10px;">
		<div style="background-color:white;  ">
		<ul id="leadsCycleList" class="zCycleContainer" >
			<%
				DisplayPage dispage = null;
				if (request.getAttribute("newContentList") != null) {
					dispage = (DisplayPage) request.getAttribute("newContentList");
					for (int i = 0; i < dispage.getList().size(); i++) {
						Content obj = (Content) dispage.getList().get(i);
						SimpleDateFormat sdf = new SimpleDateFormat("dd-MM");
						String date = sdf.format(obj.getCreatedon());
			%>
			<li>
				<div class="leadsCycleDate">
					<%=date %>
				</div>

				<a  target="_blank" 
           	href="/module/shop/shop.do?CMD=contentDetail&id=<%=obj.getId()%>">
         	<%=obj.getTitle() %></a>
			</li>
			<%
				}
				}
			%>
		</ul>
		</div>
	</div>

<style>
.leadsCycle{color:#990000; font-size:14px;  padding:30px 10px 5px 20px; letter-spacing:2px;}

ul.zCycleContainer {height:90px; padding:0px; margin:0 ;overflow: hidden;}
ul.zCycleContainer li{padding:1px; border-bottom:4px solid #F4F4F4;}

.leadsCycleDate{float:right;font-size:9px; color:#655f5f}

ul.leadsCycleContainer{font-size:12px;}
</style>

<script type="text/javascript">
var handle = AE.widget.SimpleScroll.decorate('leadsCycleList', {startDelay: 1});
</script>





